<template>
  <div>
    <slot />
  </div>
</template>
<script>
import mixin from "./mixin";
import { lngLatToCartesian3 } from "./../utils/coordinate";
import { mergeEntity } from "./../utils/generator";
export default {
  name: "EntityBillboard",
  mixins: [mixin],
  data() {
    this.entityType = "billboard";
    return {};
  },
  methods: {
    updateEntity(n) {
      this.entity.position = lngLatToCartesian3(n.position);
      mergeEntity(n, this.realEntity);
    }
  }
};
</script>
